<?php
class Core_Model_Exception_Forward extends Core_Model_Exception {

	public function __construct($action, $controller, $frontname, $params) {
		parent::__construct('', 0, NULL);
		$this->setParam('frontname', $frontname);
		$this->setParam('controller', $controller);
		$this->setParam('action', $action);
		$this->setParam('params', $params);
	}

	public function getFrontName() {
		return $this->getParam('frontname');
	}

	public function getControllerName() {
		return $this->getParam('controller');
	}

	public function getActionName() {
		return $this->getParam('action');
	}

	public function getRouteParams() {
		return $this->getParam('params');
	}
}